// 表格商品样式
.goodsName {
  // width: 522px;
  // display: inline-block;
  img {
    width: 44px;
    height: 44px;
    margin-left: 20px;
    margin-top: 2px;
    float: left;
  }
  .goodsText {
    width: calc(100% - 94px);
    margin-top: 2px;
    margin-left: 6px;
    text-align: left;
    float: left;
    a {
      font-size: 14px;
      color: #1890ff;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      line-clamp: 1;
      -webkit-box-orient: vertical;
      cursor: pointer;
    }
  }
  &:after {
    content: " ";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
  }
}

.tabset {
  height: 30px;
  padding: 0 20px;
  background-color: #fff;
  border-bottom: 1px solid #e7eaef;
  position: absolute;
  top: 49px;
  left: 0;
  right: 0;
}
:host ::ng-deep .ant-tabs-tab {
  height: 30px;
  padding: 0px;
}
:host ::ng-deep.ant-tabs-top > .ant-tabs-nav::before {
  border: none;
}

main {
  background: #fff;
  // box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid rgb(0, 0, 0, .1);
}
.pagination-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0;
}
.tableMain {
  position: relative;
  .tableCheck {
    width: 30px;
    position: absolute;
    top: 0;
    bottom: 0;
    border: 1px solid #cfd5de;
    border-left: none;
    label {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -9px;
      margin-top: -8px;
    }
  }
  .tableTitle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 30px;
    padding: 10px 20px;
    font-size: 12px;
    background: #f2f2f2;
    border-top: 1px solid #cfd5de;
    span {
      margin-right: 20px;
      display: inline-block;
      &:nth-child(1) {
        font {
          color: #1890ff;
        }
      }
    }
  }
  &:after {
    content: " ";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
  }
}
.tableTh {
  position: relative;
  .tableAll {
    width: 30px;
    position: absolute;
    top: 0;
    bottom: 0;
    border-bottom: 1px solid #cfd5de;
    label {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -9px;
      margin-top: -8px;
    }
  }
}
.my-table {
  nz-table {
    margin-left: 30px;
    margin-bottom: 20px;
    th {
      height: 38px;
      padding: 0;
      color: #888;
      background: #fff !important;
      border-bottom: 1px solid #ddd;
      font-size: 14px;
      position: relative;
    }
    td {
      height: 56px;
      padding: 0;
      font-size: 12px;
      border-right: 1px solid #cfd5de !important;
      border-bottom: 1px solid #cfd5de !important;
      &.goodsName {
        border-right: none !important;
      }
      &.font1 {
        color: #008000;
      }
      &.font2 {
        color: #f00;
      }
      &.font3 {
        color: orange;
      }
      &.font0 {
        color: #999;
      }

      // &:last-child {
      //   border-right: none !important;
      // }
    }
    td,
    th {
      &:nth-child(1) {
        width: 400px;
      }
      &:nth-child(2) {
        width: 140px;
      }
      &:nth-child(3) {
        width: 200px;
      }
      &:nth-child(4) {
        width: 200px;
      }
      &:nth-child(5) {
        width: 200px;
      }
      &:nth-child(6) {
        width: 200px;
      }
      &:nth-child(7) {
        width: 200px;
      }
      &:nth-child(8) {
        width: 200px;
      }
      &:nth-child(9) {
        width: 200px;
      }
    }
    .td-item {
        button {
          color: #1890ff;
          &:disabled {
              color: #d9d9d9;
          }
      }
    }
  }
}

.importBox {
  textarea {
    margin-bottom: 10px;
  }
  .followFile {
    height: 32px;
    line-height: 32px;
    padding: 0px 20px;
    position: relative;
    display: inline-block;
    text-align: center;
    border: 1px dashed #bfbfbf;
    cursor: pointer;
    font-size: 12px;
    span {
      display: block;
    }
    input {
      display: none;
    }
  }
  .bt-box {
    label {
      float: left;
    }
    font {
      margin-top: 6px;
      margin-left: 10px;
      font-size: 12px;
      float: left;
      display: inline-block;
    }
    button {
      float: right;
    }
    &:after {
      content: " ";
      display: block;
      clear: both;
      height: 0;
      visibility: hidden;
    }
  }
  ul {
    margin-top: 10px;
    margin-bottom: 30px;
    li {
      height: 32px;
      line-height: 32px;
      span {
        margin-right: 30px;
        color: #118ee9;
        float: left;
      }
      a {
        margin-right: 10px;
        padding: 0;
        float: left;
        color: #000;
      }
      &:after {
        content: " ";
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
      }
    }
  }
}
.ant-table-tbody > tr.ant-table-row:hover > td {
  background: #fff;
}
:host ::ng-deep .ant-table.ant-table-bordered > .ant-table-container {
  border-top-color: #cfd5de;
  // border-right: none;
}

[nz-button] {
  margin-right: 8px;
}
[nz-button-tdlink] {
  margin-right: 6px;
  padding: 0;
}
.noData {
  margin-bottom: 20px;
  font-size: 12px;
  text-align: center;
  a {
    margin-left: 10px;
    color: #006eff;
    display: inline-block;
  }
}
.modal-table {
  border-right: 1px solid #cfd5de !important;
  td,
  th {
    border-right: none !important;
  }
}

.export-tips {
  color: #F56C6C;
  padding-bottom: 10px;
}

.child-model {
  nz-table {
    margin: 0 !important;
  }
}

.href-span {
  color: #1890ff;
  cursor: pointer;
  padding: 0 5px;
}